为您找到与kali linux支持的网卡相关的共200个结果:
有时候,一台服务器需要设置多个ip,但又不想添加多块网卡,那就需要设置虚拟网卡.这里介绍几种方式在linux服务器上添加虚拟网卡.
我们向eth0中添加一块虚拟网卡:
第一种方法:快递创建删除虚拟网卡
sudo ifconfig eth0:0 192.168.10.10 up
以上的命令就可以在eth0网卡上创建一个叫eth0:0的虚拟网卡,他的地址是:192.168.1.63
如果不想要这个虚拟网卡了,可以使用如下命令删除:
sudo ifconfig eth0:0 down
重启服务器或者网络后,虚拟网卡就没有了.
hzhsan:但是发现添加的虚拟网卡和原网卡物理地址是一样的。
第二种方法:修改网卡配置文件
在ubuntu下,网卡的配置文件是/etc/network/interfaces,所以我们修改它:
sudo vim /etc/network/interfaces
在这个文件中增加如下内容并保存:
auto eth0:0
iface eth0:0 inet static
address 192.168.10.10
netmask 255.255.255.0
#network 192.168.10.1
#broadcast 192.168.1.255
保存后,我们需要重启网卡(重新加载配置文件)才会生效,使用如下命令重启:
sudo /etc/init.d/networking restart
他的优点是重启服务器或者网卡配置不会丢失。
在linux中虚拟网卡的方法
第三种方法:创建tap
前两种方法都有一个特点,创建的网卡可有不同的ip地址,但是Mac地址相同。无法用来创建虚拟机。
添加虚拟网卡tap
tunctl -b
附上相关命令简介:
显示网桥信息
brctl show
添加网桥
brctl addbr virbr0
激活网桥
ip link set virbr0 up
添加虚拟网卡tap
tunctl -b
tap0 -------> 执行上面使命就会生成一个tap,后缀从0,1,2依次递增
激活创建的tap
ip link set tap0 up
将tap0虚拟网卡添加到指定网桥上。
brctl addif br0 tap0
给网桥配制ip地址
ifconfig virbr1 169.254.251.4 up
将virbr1网桥上绑定的网卡eth5解除
brctl delif virb1 eth5
给virbr1网桥添加网卡eth6
brctl addif virbr1 eth6
浏览量:3
下载量:0
时间:
Kali Linux安装好后,很多人不知道怎么配置网络,本文以校园网的静态IP为例,给大家介绍下Kali Linux的网络配置方法,一起来学习下吧。
kali安装完成之后,首先确定你是DHCP还是静态IP。DHCP是用来给大型网络动态分配IP的协议,而大部分中小型网络(如校园网、家庭网络)都是采用网络管理员手工分配静态IP的方法来确定IP地址的。
Kali Linux的DNS服务器地址使用文件“/etc/resovl.conf”进行配置,用户可以通过“nameserver”配置项设置DNS服务器的 IP地址;“resolv.conf”文件中最多可以使用
“nameserver”指定3个DNS服务器,按照先后的顺序,一旦前面的DNS服务器失效,系统将自动使用后面的DNS服务器。
对于“resolv.conf”文件设置“nameserver”的修改是即时生效的,即只要对“resolv.conf”文件的修改进行了保存,在系统下一次需要进行域名的解析时就会按照该文件中指定
的DNS服务器IP地址进行域名的解析。
在resolv.conf中的格式如下:
domain
nameserver 10.10.10.10
nameserver 102.54.16.2
浏览量:2
下载量:0
时间:
在Debian的基础上Linux的发行版是Kali Linux系统,这种方式的设计可以进行数字的取证操作和进行测试渗透作用的操作,它依靠的是Offensive Ltd协助,利用它进行资助系统和维护系统并使之正常运行。它需要Offensive Security对BackTracSecurity k的重新书写才能完成工作,Offensive Security由Mati Aharoni和Devon Kearns组成。Linux发行版本的取证需要通过BackTrack。现在读文网小编就带你去了解一下kali linux。
根据渗透的测试以及安全的检测,Kali Linux软件在一些核心的地方进行了修正和改变,Kali Linux软件是单用户使用,它采用允许root权限登陆的设计,但是由于安全的检测本质,Kali Linux软件专门制定了一个方案,这个方案关于单用户和登录root权限的。
Kali Linux系统禁用网络之间的服务,它包含了sysvinit hooks也就是网络服务禁用的默认,但是在Kali Linux软件中进行安装可以允许,各种类型,各种服务都可以进行安装,用户在Kali Linux软件中可以安装各种安装包,我们的发行版本是进过安全的检测的。否则蓝牙都会被禁止,并且默认加入黑名单。Kali Linux系统定制了专用的内核,使其内部加入上游的内核。
浏览量:1
下载量:0
时间:
Linux系统重装后,由于各种原因导致域名无法解析,那就需要修改DNS了,读文网小编从临时修改和永久修改两个方面介绍,感兴趣的朋友不妨来学习一下吧。
Linux中修改DNS有两种方式,临时修改和永久修改,下面分别介绍。
代码如下:
sudo –i
cd /etc/resolvconf/resolv.conf.d
vim base
添加如下内容
代码如下:
nameserver 8.8.8.8
nameserver 8.8.4.4
:wq 保存退出,这样重启后设置就不会丢失了。
其实你cat head文件会找到图片中头部注释的那段话,不难推测resolv.conf文件就是根据/etc/resolvcon f/re sol v.conf.d目录中的这几个文件生成的。
上面就是Linux下修改DNS的方法介绍了,如果你在Linux重装系统的时候忘记输入DNS Server,不妨试试本文介绍的方法修改网卡DNS的地址吧。
浏览量:2
下载量:0
时间:
在我们使用Linux系统的时候想限制自己宽带的网速以防止在下载的时候使用电脑变卡,那么读文网小编就对于这个问题强力推荐这个Linux下简单限制网卡带宽的设置方法。
1、安装iproute
2、限制eth0网卡的带宽为50kbit:
3、限制带宽为50kbit后,在百兆局域网中wget下载一个大文件:
下载速度为457K/s,限制效果达到。
4、解除eth0网卡的带宽限制:
5、对比:未作带宽限制情况下,在百兆局域网中wget下载一个大文件:
下载速度为6.16MB/s。
读者提问读文网小编:限制带宽为50kbit后, 为什么下载速度达到457K/s?
回复:Linux内核依靠粗糙的计时信息进行带宽固定。在一个较长的时间段内,可以维持很好的精度,但是在以秒为单位进行计量的时间段内,其结果非常不准确。
所以,实际使用的带宽需要以wget下载时速度为准,去调整tc的带宽限制。
浏览量:3
下载量:0
时间:
我们在Linux中启动网卡,经常会遇到启动失败,或者是网卡没有被激活的情况。那么我们应该如何解决这个问题呢,下面就跟着读文网小编一起来看看LINUX启动网卡失败的解决方法吧。
错误提示信息如下:
Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disconnecting failed: This device is not active
使用这个命令,先chkconfig NetworkManager on
然后使用命令chkconfig NetworkManager off
然后再使用 service network start
配置完成,启动ok!!!是不是很简单呢~快跟着读文网小编一起学习吧!!!如果觉得这篇文章不错的话就给读文网小编点一个赞吧。
浏览量:3
下载量:0
时间:
在linux下,我们有时候需要给单网卡设置不同的IP地址,这样就涉及到单网卡绑定多个IP地址的情况。使用读文网小编推荐的这个方法可以方便的为单网卡绑定多个IP地址。
linux的网络设备的存储路径是/etc/sysconfig/network-scripts/
要适用的网卡是eth0,再看一下该设备的IP信息。
IP:192.168.234.128
Brast:192.168.234.255
Mask:255.255.255.0
添加一个IP只需在/etc/sysconfig/network-scripts /创建一个ifcfg-eth0:x(x可以为0,1,2.......)。为了简便我们可以讲ifcfg-eth0,复制一份命名为ifcfg- eth0:1即可,然后修改该文件。
修改后
启用设备,使用命令:ifup eth0:1
下面测试一下,另外一台计算机使用ping来测试
经测试,这样就完成了添加一个IP的工作,同样我们可以添加N个IP
是不是很简单呢~快跟着读文网小编一起学习吧!!!如果觉得这篇文章不错的话就给读文网小编点一个赞吧。
浏览量:2
下载量:0
时间:
“自强不息、勇于创新、诚实守信” 是腾达公司的企业精神,腾达路由器也功能强大,那么你知道如何在Linux系统安装腾达U1网卡吗?下面是读文网小编整理的一些关于如何在Linux系统安装腾达U1网卡的相关资料,供你参考。
将驱动置于桌面(或任意位置),在当前路径打开终端Terminal(按Ctrl+Alt+T即可打开终端窗口)。输入命令“ls”查看当前路径。
浏览量:3
下载量:0
时间:
你想了解Linux基础:如何找出你的系统所支持的最大内存吗,下面,小编立即为您献上教程。
大多数情况下你可以从BIOS、产品目录或者干脆手动找出你的系统所持的最大内存。这里,我们介绍一种简单有用的技巧——使用dmidecode来找出系统支持的最大内存,这样你就无需打开机箱或者参照BIOS和产品目录了。
什么是 dmidecode?
就像你可能知道的一样, dmidecode是一个将计算机DMI(又名SMBIOS)表的内容转换为可读格式的工具。这个表包含了系统硬件组件的介绍以及其他一些如序列号和IOS版本等有用的信息。使用dmidecode你能够获取此项信息,而无需去探测真实的硬件。
找出你的系统所支持的最大内存
请确定你已经在系统中安装了dmidecode,我觉得你的操作系统应该已经自动安装过了,不过并不非常确定。
在基于Deb的系统中安装
1sudo apt-get install dmidecode
在基于RPM的系统中安装
1sudo yum install dmidecode
在SUSE/openSUSE中安装
1sudo zypper in dmidecode
好了,我们已经安装了dmidecode,接下来让我们找出支持的最大内存。输入以下命令:
1sudo dmidecode -t 16
输出样本
11# dmidecode 2.12
SMBIOS 2.6 present.
Handle 0x0014, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
就像你看到的,我的系统支持最大内存到16G,并且有两个内存插槽,简单吧?
接下来,让我们找出现在已经安装的内存的详细信息。
1sudo dmidecode -t 17
输出样本
SMBIOS 2.6 present.
Handle 0x0017, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_B
Bank Locator: BANK 2
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Rank: Unknown
Handle 0x0015, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: SODIMM
Set: None
Locator: DIMM_A
Bank Locator: BANK 0
Type: DDR3
Type Detail: Synchronous
Speed: 1067 MHz
Manufacturer: 014F
Serial Number: 00092AF2
Asset Tag: 54114000
Part Number: JM1066KSN-4G
Rank: Unknown
就像上边输出的一样,我在插槽1里边安装了一个内存条。内存大小为4G,类型为DDR3,速度为1067 MHz。
同样的,我们可以通过下边命令得到完整的内存信息。
dmidecode -t memory
sudo dmidecode -t memory | less
sudo dmidecode -t memory | more
输出样本
SMBIOS 2.6 present.
Handle 0x0014, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0017, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_B
Bank Locator: BANK 2
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Rank: Unknown
Handle 0x0015, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: SODIMM
Set: None
Locator: DIMM_A
Bank Locator: BANK 0
Type: DDR3
Type Detail: Synchronous
Speed: 1067 MHz
Manufacturer: 014F
Serial Number: 00092AF2
Asset Tag: 54114000
Part Number: JM1066KSN-4G
Rank: Unknown
如果你好奇想要知道整个系统的详细信息,例如主板、内存、BIOS等,那么可以输入以下命令来获取。
1sudo dmidecode
输出样本
SMBIOS 2.6 present.
48 structures occupying 2173 bytes.
Table at 0x000EB840.
Handle 0xDA00, DMI type 218, 251 bytes
OEM-specific Type
Header and Data:
DA FB 00 DA B2 00 0D 5F 0F 37 40 7D 00 00 00 00
00 7E 00 01 00 00 00 DC 01 00 80 02 00 DD 01 00
80 03 00 75 01 01 80 01 00 76 01 02 80 01 00 2D
01 03 80 01 00 2E 01 03 80 00 00 81 01 07 80 00
00 82 01 07 80 01 00 83 01 08 80 00 00 84 01 08
80 01 00 85 01 06 80 00 00 86 01 06 80 01 00 58
02 05 80 00 00 57 02 05 80 01 00 9C 00 02 00 01
00 9B 00 02 00 00 00 8A 01 03 00 01 00 89 01 03
00 00 00 7F 01 04 00 00 00 80 01 04 00 01 00 53
01 05 00 00 00 52 01 05 00 01 00 7B 01 06 00 00
00 7C 01 06 00 01 00 94 01 07 00 00 00 93 01 07
00 01 00 7D 00 08 00 00 00 2D 00 09 00 01 00 2E
00 09 00 00 00 6E 00 0A 00 00 00 95 00 0B 00 01
00 96 00 0B 00 00 00 2F 02 0C 00 01 00 30 02 0C
00 00 00 50 02 0D 00 00 00 51 02 0D 00 01 00 52
02 0D 00 02 00 FF FF 00 00 00 00
Handle 0xDA01, DMI type 218, 59 bytes
OEM-specific Type
Header and Data:
DA 3B 01 DA B2 00 0D 5F 0F 37 40 53 02 0D 00 03
00 54 02 0D 00 04 00 56 02 0D 00 05 00 4B 01 0E
00 01 00 4A 01 0E 00 00 00 EA 00 0F 00 01 00 EB
00 0F 00 00 00 FF FF 00 00 00 00
Handle 0x0004, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Core i3
Manufacturer: Intel
ID: A7 06 03 01 FF FB AB BE
Signature: Type 0, Family 6, Model 42, Stepping 7
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz
Voltage: 1.1 V
External Clock: 100 MHz
Max Speed: 2300 MHz
Current Speed: 2300 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count: 2
Core Enabled: 1
Thread Count: 2
Characteristics:
64-bit capable
Handle 0x0005, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1-Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 64 kB
Maximum Size: 64 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: None
System Type: Unified
Associativity: 8-way Set-associative
Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: L2-Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Varies With Memory Address
Location: Internal
Installed Size: 512 kB
Maximum Size: 512 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: None
System Type: Unified
Associativity: 8-way Set-associative
Handle 0x0007, DMI type 7, 19 bytes
Cache Information
Socket Designation: L3-Cache
Configuration: Enabled, Not Socketed, Level 3
Operational Mode: Varies With Memory Address
Location: Internal
Installed Size: 3072 kB
Maximum Size: 3072 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: None
System Type: Unified
Associativity: Other
Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: PS2Mouse
External Connector Type: PS/2
Port Type: Mouse Port
Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: Keyboard
External Connector Type: PS/2
Port Type: Keyboard Port
Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A2B
Internal Connector Type: None
External Reference Designator: Video
External Connector Type: DB-15 female
Port Type: Video Port
Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB1
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB2
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB3
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A1
Internal Connector Type: None
External Reference Designator: LAN
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x000F, DMI type 9, 17 bytes
System Slot Information
Designation: J6B2
Type: x16 PCI Express
Current Usage: In Use
Length: Long
ID: 0
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Bus Address: 0000:00:01.0
Handle 0x0010, DMI type 9, 17 bytes
System Slot Information
Designation: J6B1
Type: x1 PCI Express
Current Usage: In Use
Length: Short
ID: 1
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Bus Address: 0000:00:1c.3
Handle 0x0012, DMI type 11, 5 bytes
OEM Strings
String 1: Dell System
String 2: 5[0003]
String 3: 13[P18F]
Handle 0x0013, DMI type 12, 5 bytes
System Configuration Options
Option 1: To Be Filled By O.E.M.
Handle 0x001C, DMI type 21, 7 bytes
Built-in Pointing Device
Type: Touch Pad
Interface: Bus Mouse
Buttons: 2
Handle 0x001D, DMI type 22, 26 bytes
Portable Battery
Location: Sys. Battery Bay
Manufacturer: Sanyo
Serial Number: 5390
Name: DELL 4YRJH22
Chemistry: Lithium Ion
Design Capacity: 45000 mWh
Design Voltage: 10800 mV
SBDS Version: 1.0
Maximum Error: 2%
SBDS Manufacture Date: 2012-02-28
OEM-specific Information: 0x00000001
Handle 0x001E, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
Handle 0x0020, DMI type 27, 12 bytes
Cooling Device
Type: Fan
Status: OK
OEM-specific Information: 0x00000000
Handle 0x0021, DMI type 28, 20 bytes
Temperature Probe
Description: CPU Internal Temperature
Location: Processor
Status: OK
Maximum Value: 127.0 deg C
Minimum Value: 0.0 deg C
Resolution: 1.000 deg C
Tolerance: 0.5 deg C
Accuracy: Unknown
OEM-specific Information: 0x00000000
Handle 0xB000, DMI type 176, 5 bytes
OEM-specific Type
Header and Data:
B0 05 00 B0 00
Handle 0xB100, DMI type 177, 12 bytes
OEM-specific Type
Header and Data:
B1 0C 00 B1 1A 0E 00 00 00 00 00 00
Handle 0x0025, DMI type 209, 12 bytes
OEM-specific Type
Header and Data:
D1 0C 25 00 00 00 00 03 05 01 00 03
Handle 0x0026, DMI type 210, 12 bytes
OEM-specific Type
Header and Data:
D2 0C 26 00 00 00 00 03 05 20 01 03
Handle 0x0027, DMI type 211, 13 bytes
OEM-specific Type
Header and Data:
D3 0D 27 00 01 00 00 00 00 02 03 04 04
Strings:
Front
Handle 0x0028, DMI type 212, 57 bytes
OEM-specific Type
Header and Data:
D4 39 28 00 70 00 71 00 01 49 50 48 9C 00 49 FC
01 9B 00 49 FC 00 7F 01 4A FB 04 80 01 4A FB 00
53 01 4A F7 08 52 01 4A F7 08 7B 01 4A EF 10 7C
01 4A EF 10 FF FF 00 00 00
Handle 0x002A, DMI type 217, 8 bytes
OEM-specific Type
Header and Data:
D9 08 2A 00 01 02 00 00
Strings:
Handle 0x002B, DMI type 219, 11 bytes
OEM-specific Type
Header and Data:
DB 0B 2B 00 00 01 02 03 00 04 05
Strings:
Handle 0x002C, DMI type 220, 22 bytes
OEM-specific Type
Header and Data:
DC 16 2C 00 01 F0 00 00 02 F0 00 00 00 00 03 F0
04 F0 00 00 00 00
Handle 0x002D, DMI type 221, 19 bytes
OEM-specific Type
Header and Data:
DD 13 2D 00 00 00 00 00 00 03 00 00 00 00 00 00
00 00 00
Handle 0x002E, DMI type 222, 16 bytes
OEM-specific Type
Header and Data:
DE 10 2E 00 01 08 FF FF 00 00 00 00 00 00 00 00
Handle 0x0014, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0016, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000FFFFFFFF
Range Size: 4 GB
Physical Device Handle: 0x0015
Memory Array Mapped Address Handle: 0x0018
Partition Row Position: 1
Interleave Position: 1
Interleaved Data Depth: 1
Handle 0x0017, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_B
Bank Locator: BANK 2
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Rank: Unknown
Handle 0x0018, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000FFFFFFFF
Range Size: 4 GB
Physical Array Handle: 0x0014
Partition Width: 2
Handle 0x002F, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Abbreviated
Installable Languages: 1
eng
Currently Installed Language: eng
Handle 0x0030, DMI type 131, 64 bytes
OEM-specific Type
Header and Data:
83 40 30 00 31 00 00 00 00 00 00 00 00 00 00 00
F8 00 4B 1C FF FF FF FF 01 00 00 00 00 00 07 00
AD 04 04 00 00 00 00 00 C8 00 FF FF 00 00 00 00
00 00 00 00 32 00 00 00 76 50 72 6F 00 00 00 00
Handle 0x0029, DMI type 216, 9 bytes
OEM-specific Type
Header and Data:
D8 09 29 00 01 02 01 00 00
Strings:
INTEL
0000
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Dell Inc.
Version: A05
Release Date: 08/03/2012
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 2048 kB
Characteristics:
MCA is supported
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 0.5
Firmware Revision: 0.5
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Dell Inc.
Product Name: 01HXXJ
Version: A05
Serial Number: .JSQ7PA1.CN7117623M00J2.
Asset Tag: Not Specified
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To Be Filled By O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: Dell Inc.
Type: Portable
Lock: Not Present
Version: Not Specified
Serial Number: JSR1
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Dell Inc.
Product Name: Inspiron N5050
Version: Not Specified
Serial Number: JSR1
UUID: 4C4C4544-0053-5110-8029-CAC05241
Wake-up Type: Power Switch
SKU Number: To be filled by O.E.M.
Family:
Handle 0x0024, DMI type 208, 12 bytes
OEM-specific Type
Header and Data:
D0 0C 24 00 02 05 FE 00 04 05 01 02
Strings:
20120323
20120323
Handle 0x0011, DMI type 10, 6 bytes
On Board Device Information
Type: Video
Status: Enabled
Description: Mobile Intel SandyBridge HD Graphics
Handle 0x0015, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: SODIMM
Set: None
Locator: DIMM_A
Bank Locator: BANK 0
Type: DDR3
Type Detail: Synchronous
Speed: 1067 MHz
Manufacturer: 014F
Serial Number: 0009F2
Asset Tag: 54114000
Part Number: JM1066-4G
Rank: Unknown
Handle 0x0031, DMI type 127, 4 bytes
End Of Table
好了,就是这样。
浏览量:2
下载量:0
时间:
大多数情况下你可以从BIOS、产品目录或者干脆手动找出你的系统所持的最大内存。这里,我们介绍一种简单有用的技巧——使用dmidecode来找出系统支持的最大内存,这样你就无需打开机箱或者参照BIOS和产品目录了。让我们一起去看看。
什么是 dmidecode?
就像你可能知道的一样, dmidecode是一个将计算机DMI(又名SMBIOS)表的内容转换为可读格式的工具。这个表包含了系统硬件组件的介绍以及其他一些如序列号和IOS版本等有用的信息。使用dmidecode你能够获取此项信息,而无需去探测真实的硬件。
找出你的系统所支持的最大内存
请确定你已经在系统中安装了dmidecode,我觉得你的操作系统应该已经自动安装过了,不过并不非常确定。
在基于Deb的系统中安装
sudo apt-get install dmidecode
在基于RPM的系统中安装
sudo yum install dmidecode
在SUSE/openSUSE中安装
sudo zypper in dmidecode
好了,我们已经安装了dmidecode,接下来让我们找出支持的最大内存。输入以下命令:
sudo dmidecode -t 16
输出样本
# dmidecode 2.12
SMBIOS 2.6 present.
Handle 0x0014, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
就像你看到的,我的系统支持最大内存到16G,并且有两个内存插槽,简单吧?
接下来,让我们找出现在已经安装的内存的详细信息。
sudo dmidecode -t 17
输出样本
# dmidecode 2.12
SMBIOS 2.6 present.
Handle 0x0017, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_B
Bank Locator: BANK 2
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Rank: Unknown
Handle 0x0015, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: SODIMM
Set: None
Locator: DIMM_A
Bank Locator: BANK 0
Type: DDR3
Type Detail: Synchronous
Speed: 1067 MHz
Manufacturer: 014F
Serial Number: 00092AF2
Asset Tag: 54114000
Part Number: JM1066KSN-4G
Rank: Unknown
就像上边输出的一样,我在插槽1里边安装了一个内存条。内存大小为4G,类型为DDR3,速度为1067 MHz。
同样的,我们可以通过下边命令得到完整的内存信息。
sudo dmidecode -t memory
sudo dmidecode -t memory | less
sudo dmidecode -t memory | more
输出样本
# dmidecode 2.12
SMBIOS 2.6 present.
Handle 0x0014, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0017, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_B
Bank Locator: BANK 2
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Rank: Unknown
Handle 0x0015, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: SODIMM
Set: None
Locator: DIMM_A
Bank Locator: BANK 0
Type: DDR3
Type Detail: Synchronous
Speed: 1067 MHz
Manufacturer: 014F
Serial Number: 00092AF2
Asset Tag: 54114000
Part Number: JM1066KSN-4G
Rank: Unknown
如果你好奇想要知道整个系统的详细信息,例如主板、内存、BIOS等,那么可以输入以下命令来获取。
sudo dmidecode
输出样本
# dmidecode 2.12
SMBIOS 2.6 present.
48 structures occupying 2173 bytes.
Table at 0x000EB840.
Handle 0xDA00, DMI type 218, 251 bytes
OEM-specific Type
Header and Data:
DA FB 00 DA B2 00 0D 5F 0F 37 40 7D 00 00 00 00
00 7E 00 01 00 00 00 DC 01 00 80 02 00 DD 01 00
80 03 00 75 01 01 80 01 00 76 01 02 80 01 00 2D
01 03 80 01 00 2E 01 03 80 00 00 81 01 07 80 00
00 82 01 07 80 01 00 83 01 08 80 00 00 84 01 08
80 01 00 85 01 06 80 00 00 86 01 06 80 01 00 58
02 05 80 00 00 57 02 05 80 01 00 9C 00 02 00 01
00 9B 00 02 00 00 00 8A 01 03 00 01 00 89 01 03
00 00 00 7F 01 04 00 00 00 80 01 04 00 01 00 53
01 05 00 00 00 52 01 05 00 01 00 7B 01 06 00 00
00 7C 01 06 00 01 00 94 01 07 00 00 00 93 01 07
00 01 00 7D 00 08 00 00 00 2D 00 09 00 01 00 2E
00 09 00 00 00 6E 00 0A 00 00 00 95 00 0B 00 01
00 96 00 0B 00 00 00 2F 02 0C 00 01 00 30 02 0C
00 00 00 50 02 0D 00 00 00 51 02 0D 00 01 00 52
02 0D 00 02 00 FF FF 00 00 00 00
Handle 0xDA01, DMI type 218, 59 bytes
OEM-specific Type
Header and Data:
DA 3B 01 DA B2 00 0D 5F 0F 37 40 53 02 0D 00 03
00 54 02 0D 00 04 00 56 02 0D 00 05 00 4B 01 0E
00 01 00 4A 01 0E 00 00 00 EA 00 0F 00 01 00 EB
00 0F 00 00 00 FF FF 00 00 00 00
Handle 0x0004, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Core i3
Manufacturer: Intel
ID: A7 06 03 01 FF FB AB BE
Signature: Type 0, Family 6, Model 42, Stepping 7
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz
Voltage: 1.1 V
External Clock: 100 MHz
Max Speed: 2300 MHz
Current Speed: 2300 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count: 2
Core Enabled: 1
Thread Count: 2
Characteristics:
64-bit capable
Handle 0x0005, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1-Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 64 kB
Maximum Size: 64 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: None
System Type: Unified
Associativity: 8-way Set-associative
Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: L2-Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Varies With Memory Address
Location: Internal
Installed Size: 512 kB
Maximum Size: 512 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: None
System Type: Unified
Associativity: 8-way Set-associative
Handle 0x0007, DMI type 7, 19 bytes
Cache Information
Socket Designation: L3-Cache
Configuration: Enabled, Not Socketed, Level 3
Operational Mode: Varies With Memory Address
Location: Internal
Installed Size: 3072 kB
Maximum Size: 3072 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: None
System Type: Unified
Associativity: Other
Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: PS2Mouse
External Connector Type: PS/2
Port Type: Mouse Port
Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: Keyboard
External Connector Type: PS/2
Port Type: Keyboard Port
Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A2B
Internal Connector Type: None
External Reference Designator: Video
External Connector Type: DB-15 female
Port Type: Video Port
Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB1
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB2
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB3
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A1
Internal Connector Type: None
External Reference Designator: LAN
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x000F, DMI type 9, 17 bytes
System Slot Information
Designation: J6B2
Type: x16 PCI Express
Current Usage: In Use
Length: Long
ID: 0
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Bus Address: 0000:00:01.0
Handle 0x0010, DMI type 9, 17 bytes
System Slot Information
Designation: J6B1
Type: x1 PCI Express
Current Usage: In Use
Length: Short
ID: 1
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Bus Address: 0000:00:1c.3
Handle 0x0012, DMI type 11, 5 bytes
OEM Strings
String 1: Dell System
String 2: 5[0003]
String 3: 13[P18F]
Handle 0x0013, DMI type 12, 5 bytes
System Configuration Options
Option 1: To Be Filled By O.E.M.
Handle 0x001C, DMI type 21, 7 bytes
Built-in Pointing Device
Type: Touch Pad
Interface: Bus Mouse
Buttons: 2
Handle 0x001D, DMI type 22, 26 bytes
Portable Battery
Location: Sys. Battery Bay
Manufacturer: Sanyo
Serial Number: 5390
Name: DELL 4YRJH22
Chemistry: Lithium Ion
Design Capacity: 45000 mWh
Design Voltage: 10800 mV
SBDS Version: 1.0
Maximum Error: 2%
SBDS Manufacture Date: 2012-02-28
OEM-specific Information: 0x00000001
Handle 0x001E, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
Handle 0x0020, DMI type 27, 12 bytes
Cooling Device
Type: Fan
Status: OK
OEM-specific Information: 0x00000000
Handle 0x0021, DMI type 28, 20 bytes
Temperature Probe
Description: CPU Internal Temperature
Location: Processor
Status: OK
Maximum Value: 127.0 deg C
Minimum Value: 0.0 deg C
Resolution: 1.000 deg C
Tolerance: 0.5 deg C
Accuracy: Unknown
OEM-specific Information: 0x00000000
Handle 0xB000, DMI type 176, 5 bytes
OEM-specific Type
Header and Data:
B0 05 00 B0 00
Handle 0xB100, DMI type 177, 12 bytes
OEM-specific Type
Header and Data:
B1 0C 00 B1 1A 0E 00 00 00 00 00 00
Handle 0x0025, DMI type 209, 12 bytes
OEM-specific Type
Header and Data:
D1 0C 25 00 00 00 00 03 05 01 00 03
Handle 0x0026, DMI type 210, 12 bytes
OEM-specific Type
Header and Data:
D2 0C 26 00 00 00 00 03 05 20 01 03
Handle 0x0027, DMI type 211, 13 bytes
OEM-specific Type
Header and Data:
D3 0D 27 00 01 00 00 00 00 02 03 04 04
Strings:
Front
Handle 0x0028, DMI type 212, 57 bytes
OEM-specific Type
Header and Data:
D4 39 28 00 70 00 71 00 01 49 50 48 9C 00 49 FC
01 9B 00 49 FC 00 7F 01 4A FB 04 80 01 4A FB 00
53 01 4A F7 08 52 01 4A F7 08 7B 01 4A EF 10 7C
01 4A EF 10 FF FF 00 00 00
Handle 0x002A, DMI type 217, 8 bytes
OEM-specific Type
Header and Data:
D9 08 2A 00 01 02 00 00
Strings:
Handle 0x002B, DMI type 219, 11 bytes
OEM-specific Type
Header and Data:
DB 0B 2B 00 00 01 02 03 00 04 05
Strings:
Handle 0x002C, DMI type 220, 22 bytes
OEM-specific Type
Header and Data:
DC 16 2C 00 01 F0 00 00 02 F0 00 00 00 00 03 F0
04 F0 00 00 00 00
Handle 0x002D, DMI type 221, 19 bytes
OEM-specific Type
Header and Data:
DD 13 2D 00 00 00 00 00 00 03 00 00 00 00 00 00
00 00 00
Handle 0x002E, DMI type 222, 16 bytes
OEM-specific Type
Header and Data:
DE 10 2E 00 01 08 FF FF 00 00 00 00 00 00 00 00
Handle 0x0014, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0016, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000FFFFFFFF
Range Size: 4 GB
Physical Device Handle: 0x0015
Memory Array Mapped Address Handle: 0x0018
Partition Row Position: 1
Interleave Position: 1
Interleaved Data Depth: 1
Handle 0x0017, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_B
Bank Locator: BANK 2
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Rank: Unknown
Handle 0x0018, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000FFFFFFFF
Range Size: 4 GB
Physical Array Handle: 0x0014
Partition Width: 2
Handle 0x002F, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Abbreviated
Installable Languages: 1
eng
Currently Installed Language: eng
Handle 0x0030, DMI type 131, 64 bytes
OEM-specific Type
Header and Data:
83 40 30 00 31 00 00 00 00 00 00 00 00 00 00 00
F8 00 4B 1C FF FF FF FF 01 00 00 00 00 00 07 00
AD 04 04 00 00 00 00 00 C8 00 FF FF 00 00 00 00
00 00 00 00 32 00 00 00 76 50 72 6F 00 00 00 00
Handle 0x0029, DMI type 216, 9 bytes
OEM-specific Type
Header and Data:
D8 09 29 00 01 02 01 00 00
Strings:
INTEL
0000
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Dell Inc.
Version: A05
Release Date: 08/03/2012
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 2048 kB
Characteristics:
MCA is supported
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 0.5
Firmware Revision: 0.5
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Dell Inc.
Product Name: 01HXXJ
Version: A05
Serial Number: .JSQ7PA1.CN7117623M00J2.
Asset Tag: Not Specified
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To Be Filled By O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: Dell Inc.
Type: Portable
Lock: Not Present
Version: Not Specified
Serial Number: JSR1
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Dell Inc.
Product Name: Inspiron N5050
Version: Not Specified
Serial Number: JSR1
UUID: 4C4C4544-0053-5110-8029-CAC05241
Wake-up Type: Power Switch
SKU Number: To be filled by O.E.M.
Family:
Handle 0x0024, DMI type 208, 12 bytes
OEM-specific Type
Header and Data:
D0 0C 24 00 02 05 FE 00 04 05 01 02
Strings:
20120323
20120323
Handle 0x0011, DMI type 10, 6 bytes
On Board Device Information
Type: Video
Status: Enabled
Description: Mobile Intel SandyBridge HD Graphics
Handle 0x0015, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0014
Error Information Handle: 0x0000
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: SODIMM
Set: None
Locator: DIMM_A
Bank Locator: BANK 0
Type: DDR3
Type Detail: Synchronous
Speed: 1067 MHz
Manufacturer: 014F
Serial Number: 0009F2
Asset Tag: 54114000
Part Number: JM1066-4G
Rank: Unknown
Handle 0x0031, DMI type 127, 4 bytes
End Of Table
结束。
浏览量:2
下载量:0
时间:
有网友问到Ubuntu(Debian) linux怎么安装无线网卡,针对这个问题,读文网小编为大家分享了Ubuntu(Debian) linux安装无线网卡的操作赴欧成,希望对大家有所帮助。
手头上有两块网卡:1.Compaq WL110 2.NETGEAR MA521
先从简单的开始,Compaq网卡出道很早,kernel 2.6.12的linux系统对此支持的不错,插上就工作:
[@more@]$ sudo -s
password
# cardctl status
Socket 0:
5V 16-bit PC Card
function 0: [ready]
没有很多信息,但是确实显示了网卡工作正常。如下命令,设置无线网络:
# iwconfig ethX mode Managed
# iwconfig ethX essid ESSID
# ifconfig ethX up
在这里ethX为eth1,ESSID为所属无线网络ssid。up启动设备后一切正常,网卡灯亮尝试iwconfig,一切正常。
好了,现在试试第二块网卡,这次主要的研究对象:NETGEAR MA521。linux对这种网卡的支持并不好,但是幸亏有了ndiswrapper工具,具体信息察看 http://ndiswrapper.sourceforge.net
简单的说此工具就是让windows中驱动程序*.ini文件在linux下生效。
下面是配置步骤
Step#1.
下载Netgear MA521的驱动,www.realtek.com.tw,xp版驱动rtl8180:ndis5x-8180(173).zip,只需要里面的NET8180.INF文件
Step #2.
安装 Ndiswrapper.
$sudo apt-get install ndiswrapper-source
$sudo apt-get install ndiswrapper-utils
Step #3
$sudo ndiswrapper -i NET8180.INF
注意输入驱动程序的完整路径,否则不能正确安装
安装以后会在/etc/ndiswrapper/下面建立一个相应的目录net8180
显示是否安装成功:
$sudo ndiswrapper -l
我这里的显示是:
Installed ndis drivers:
net8180 driver present, hardware present
Step #4
$sudo ndiswrapper -m
让ndiswrapper在启动时自动加载,无线网卡会在系统启动初始化hotplug subsysytem时装载
Step #5
$sudo modprobe ndiswrapper,让linux加载ndiswrapper module
Step #6
尝试如下命令
#iwconfig
发现eth0,eth1没有任何无线设备,而是wlan0
#iwconfig wlan0 ssid ESSID
设置wlan0的ssid名称
#dhclient
自动获取ip
到这里配置结束,执行ifconfig,一切正常。
看过“ Ubuntu(Debian) linux怎么安装无线网卡 ”
浏览量:2
下载量:0
时间:
有时候,一台服务器需要设置多个ip,但又不想添加多块网卡,那就需要设置虚拟网卡.这里读文网小编为大家介绍在linux服务器上添加虚拟网卡的方法。
Linux系统怎么增加虚拟网卡
增加虚拟网卡方法一:快递创建删除虚拟网卡
sudo ifconfig eth0:0 192.168.10.10 up
以上的命令就可以在eth0网卡上创建一个叫eth0:0的虚拟网卡,他的地址是:192.168.1.63
如果不想要这个虚拟网卡了,可以使用如下命令删除:
sudo ifconfig eth0:0 down
重启服务器或者网络后,虚拟网卡就没有了。
hzhsan:但是发现添加的虚拟网卡和原网卡物理地址是一样的。
增加虚拟网卡方法二::修改网卡配置文件
在ubuntu下,网卡的配置文件是/etc/network/interfaces,所以我们修改它:
sudo vim /etc/network/interfaces
在这个文件中增加如下内容并保存:
auto eth0:0
iface eth0:0 inet static
address 192.168.10.10
netmask 255.255.255.0
#network 192.168.10.1
#broadcast 192.168.1.255
保存后,我们需要重启网卡(重新加载配置文件)才会生效,使用如下命令重启:
sudo /etc/init.d/networking restart
他的优点是重启服务器或者网卡配置不会丢失。
增加虚拟网卡方法三::创建tap
前两种方法都有一个特点,创建的网卡可有不同的ip地址,但是Mac地址相同。无法用来创建虚拟机。
添加虚拟网卡tap
tunctl -b
附上相关命令简介:
显示网桥信息
brctl show
添加网桥
brctl addbr virbr0
激活网桥
ip link set virbr0 up
添加虚拟网卡tap
tunctl -b
tap0 -------》 执行上面使命就会生成一个tap,后缀从0,1,2依次递增
激活创建的tap
ip link set tap0 up
将tap0虚拟网卡添加到指定网桥上。
brctl addif br0 tap0
给网桥配制ip地址
ifconfig virbr1 169.254.251.4 up
将virbr1网桥上绑定的网卡eth5解除
brctl delif virb1 eth5
给virbr1网桥添加网卡eth6
brctl addif virbr1 eth6
以上就是Linux增添虚拟网卡的方法,三种方法各异,有需要的用户可选择其中任一方法来添加虚拟网卡。
看过“ Linux系统怎么增加虚拟网卡 ”
浏览量:3
下载量:0
时间:
Kali linux 安装完成后,需要对其网络进行配置。使用DHCP服务是配置网卡最简单的方法之一,但渗透测试时通常不会这样做,因为系统会被记录在DHCP服务器的数据库中。下面跟着读文网小编一起来了解一下Kali Linux的进行网络配置方法吧。
kali安装完成之后,首先确定你是DHCP还是静态IP。DHCP是用来给大型网络动态分配IP的协议,而大部分中小型网络(如校园网、家庭网络)都是采用网络管理员手工分配静态IP的方法来确定IP地址的。
一、 在文件系统里找到/etc/network下的interfaces文件,打开后可以看到eth0为dhcp,将其修改为如下形式:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5)。
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static //配置eth0使用默认的静态地址
address 192.168.77.133 //设置eth0的IP地址
netmask 255.255.255.0 //配置eth0的子网掩码
gateway 192.168.77.254 //配置当前主机的默认网关
“interfaces”文件中还有很多其他的设置项,如需要了解更多的信息,可以使用man命令查询“interfaces”文件的手册页。
#man interfaces
其中eth0指本机以太网卡一,类似的,eth1指本机的以太网卡2。一般一台电脑只有一个eth0。网卡的设备名/dev/eth0 和硬件的MAC 地址52:54:AB:DD:6F:61对应,MAC 地址是生产厂家定的,每个网卡拥有的唯一地址。
linux下,用ifconfig后,能看到eth0,可能还会看到eth0:1。其中eth0:1是指eth0的分ip存储文件,分ip存储文件格式为ifcfg-eth0:X, X为任意正整数(包括0)
具体作用是实现单网卡多ip,类似与windows的多ip。
二、配置DNS
Kali Linux的DNS服务器地址使用文件“/etc/resovl.conf”进行配置,用户可以通过“nameserver”配置项设置DNS服务器的 IP地址;“resolv.conf”文件中最多可以使用
“nameserver”指定3个DNS服务器,按照先后的顺序,一旦前面的DNS服务器失效,系统将自动使用后面的DNS服务器。
对于“resolv.conf”文件设置“nameserver”的修改是即时生效的,即只要对“resolv.conf”文件的修改进行了保存,在系统下一次需要进行域名的解析时就会按照该文件中指定
的DNS服务器IP地址进行域名的解析。
在resolv.conf中的格式如下:
domain
nameserver 10.10.10.10
nameserver 102.54.16.2
三、重启网络
在之前的步骤完成后保存,然后在终端里边重启网络,命令如下:/etc/init.d/networking restart
完了之后打开浏览器就可以在校内网下载登录客户端上网了!
上面就是Kali Linux安装好后网络配置的方法介绍了,该方法只适用于校内网,如果是其他网络的话可以做个参考,赶紧试试看吧。
浏览量:3
下载量:0
时间:
现在很多人都喜欢用无线上网,无线上网就需要无线网卡,而无线网卡就需要安装无线网卡驱动。那么Linux操作系统怎么安装无线网卡驱动呢?下面跟着读文网小编一起去了解下吧。
安装方法及步骤:
一、 准备工作
1、安装kernel的源码,在Redhat下是kernel-source.rpm包。//我使用是FC8的内核,未再进行升级。
2、到http://sourceforge.net/projects/ndiswrapper下载最新的ndiswrapper包,我的版本是ndiswrapper-1.52.tar.gz
3、准备好网卡在Winxp下的驱动程序。驱动程序最好是最新的,指定给XP用的。我用到的是D-Link的一款PCI无线网卡(dwl-g520),其驱动程序是ar5211.sys、ar52119x.sys和net5211.inf。
二、安装及配置
1、安装
(1)解压:tar -zxvf ndiswrapper-1.52.tar.gz
(2)进入ndiswrapper-1.52:cd ndiswrapper-1.52
(3)编译:make//在此操作之前必需先把编译环境搭建好,即:安装好开发环境。
(4)安装:make install //如果不采取默认的安装路径,则可以用.configure --prefix="/etc/local"来指定安装目录。 //此目录是自建。
(5)查看安装后的版本ndiswrapper -v | grep //此处似乎不对。如安装成功则显示version: 1.51
(6)获取该无线网卡的WindowsXP驱动,我取了ar5211.sys、ar52119x.sys和net5211.inf。
(7)进入该驱动所在目录:cd /home/tsm/dwl_g520
(8)安装无线网卡驱动:ndiswrapper -i net5211.inf
(9)查看驱动是否安装:ndiswrapper -l//如:显示net5211(驱动名称) : driver installed
(10)写入配置文件:ndiswrapper -m
ndiswrapper -ma
ndiswrapper -mi
(11)启动后模块自动加载:modprobe ndiswrapper
2、配置
(1)然后配置wpa_supplicant.conf文件:
vi /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="any"
key_mgmt=NONE
}
(2)配置wpa_supplicant文件:
vi /etc/sysconfig/wpa_supplicant
将该文件内容设置为:
# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-iwlan0"
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dndiswrapper"
(3)iwlist scanning 扫描一下你的AP //此处未成功,未知原因待查。
(4)系统->管理->服务->NetworkManager 启动它后,将在右上解出现它的图标。
(5)单击该图标,将会列出你的AP,然后选中它进行连接,连接过程中输入AP的加密密码(有时要输入两次才能成功)。
至此已完毕。此时会自动检测你的AP加密类型。如是WEP请在无线安全性那里多选几个试试。
另外:由于开机自动激活网卡或无线网卡会在网卡无链接的情况下启动过慢。最好办法就是取消启动计算机机时自动激活。这样就必免了开启过慢。
这样你就完成了Linux操作系统通过ndiswrapper安装无线网卡驱动。
看过“ Linux操作系统怎么安装无线网卡驱动 ”
浏览量:3
下载量:0
时间:
Linux是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX和UNIX的多用户、多任务、支持多线程和多CPU的操作系统。下面是读文网小编带来的关于linux支持多大内存的内容,欢迎阅读!
内存的工作方式,内存又有FPA EDO DRAM和SDRAM(同步动态RAM)等形式。
FPM(FAST PAGE MODE)RAM 快速页面模式随机存取存储器:thinkpad 原装内存条这是较早的电脑系统普通使用的内存,它每隔三个时钟脉冲周期传送一次数据。
EDO(EXTENDED DATA OUT)RAM
扩展数据输出随机存取存储器:EDO内存取消了主板与内存两个存储周期之间的时间间隔,他每隔两个时钟脉冲周期输出一次数据,大大地缩短了存取时间,使存储速度提高30%。EDO一般是72脚,EDO内存已经被SDRAM所取代。
S(synchronous)DRAM
同步动态随机存取存储器:SDRAM为168脚,这是PENTIUM及以上机型使用的内存。SDRAM将CPU与RAM通过一个相同的时钟锁在一起,使CPU和RAM能够共享一个时钟周期,以相同的速度同步工作,每一个时钟脉冲的上升沿便开始传递数据,速度比EDO内存提高50%。
DDR(DOUBLE DATA RATE)RAM
SDRAM的更新换代产品,他允许在时钟脉冲的上升沿和下降沿传输数据,这样不需要提高时钟的频率就能加倍提高SDRAM的速度。
RDRAM(RAMBUS DRAM)存储器总线式动态随机存取存储器;内存条RDRAM是RAMBUS公司开发的具有系统带宽,芯片到芯片接口设计的新型DRAM,他能在很高的频率范围内通过一个简单的总线传输数据。他同时使用低电压信号,在高速同步时钟脉冲的两边沿传输数据。INTEL将在其820芯片组产品中加入对RDRAM的支持。
内存的参数主要有两个:存储容量和存取时间。存储容量越大,电脑能记忆的信息越多。存取时间则以纳秒(NS)为单位来计算。一纳秒等于10亿分之一秒。数字越小,表明内存的存取速度越快。
浏览量:2
下载量:0
时间:
你们知道怎么查看电脑中的网卡型号吗?下面是读文网小编带来的关于linux怎么查看网卡硬件信息的内容,欢迎阅读!
也可以通过dmesg | grep eth0 等看到网卡名字(厂家)等信息
通过查看 /etc/sysconfig/network-scripts/ifcfg-eth0 可以看到当前的网卡配置包括IP、网关地址等信息。
当然也可以通过ifconfig命令查看。
浏览量:3
下载量:0
时间:
由于业务需要,要在单个物理网卡上建立多个虚拟网卡,那么Linux怎么增加虚拟网卡呢?读文网小编分享了Linux增加虚拟网卡的方法,希望对大家有所帮助。
创建tap
前两种方法都有一个特点,创建的网卡可有不同的ip地址,但是Mac地址相同。无法用来创建虚拟机。
添加虚拟网卡tap
tunctl -b
附上相关命令简介:
显示网桥信息
brctl show
添加网桥
brctl addbr virbr0
激活网桥
ip link set virbr0 up
添加虚拟网卡tap
tunctl -b
tap0 -------》 执行上面使命就会生成一个tap,后缀从0,1,2依次递增
激活创建的tap
ip link set tap0 up
将tap0虚拟网卡添加到指定网桥上。
brctl addif br0 tap0
给网桥配制ip地址
ifconfig virbr1 169.254.251.4 up
将virbr1网桥上绑定的网卡eth5解除
brctl delif virb1 eth5
给virbr1网桥添加网卡eth6
brctl addif virbr1 eth6
看过“Linux怎么增加虚拟网卡”
浏览量:3
下载量:0
时间: